
unsigned short read(unsigned short regno)
{
    unsigned short value;

    *(unsigned short *)(0x19000300 + 0x0a) = regno;
    value = *(unsigned short *)(0x19000300 + 0x0c);
    return (value);
}

int main()
{
    return (0);
}

/*
void test2()
{
    short *p = 0x19000300;
    unsigned short value = 0x12;
    __asm__ (
        "strh %0, [%1, #0x0a]"
        :: "r"(value), "r"(p)
    );
}
*/
